package com.xzx.paymentdemo.service;

import java.io.IOException;
import java.util.Map;

/**
 * .
 *
 * @author xzx
 * @since 2022/8/11
 */
public interface WxPayService {
    Map<String, Object> nativePay(Long productId) throws IOException;

    void processOrder(String decryptData);

    void cancelOrder(String orderNo) throws IOException;

    String queryOrder(String orderNo) throws IOException;

    void checkOrderStatus(String orderNo) throws IOException;

    void refund(String orderNo, String reason) throws IOException;

    String queryRefund(String refundNo) throws IOException;

    void checkRefundStatus(String refundNo) throws IOException;

    void processRefund(String decryptData);

    String queryBill(String billDate, String type) throws IOException;

    String downloadBill(String billDate, String type) throws IOException;
}
